package maa.entity;

import java.util.UUID;

public class Course {

    private String courseName;
    private String courseDescription;
    private double courseMonthlyPrice;
    private UUID uuid;
    private Mentor mentor;

    public Mentor getMentor() {
        return mentor;
    }

    public void setMentor(Mentor mentor) {
        this.mentor = mentor;
    }

    public Course(String courseName, String courseDescription, double courseMonthlyPrice, Mentor mentor) {
        this.courseName = courseName;
        this.courseDescription = courseDescription;
        this.courseMonthlyPrice = courseMonthlyPrice;
        this.mentor = mentor;

        this.uuid = UUID.randomUUID();
    }

    public Course() {
        this.uuid = UUID.randomUUID();
    }
    public UUID getUuid() {
        return uuid;
    }

    public void setUuid(UUID uuid) {
        this.uuid = uuid;
    }

    public String getCourseName() {
        return courseName;
    }

    public void setCourseName(String courseName) {
        this.courseName = courseName;
    }

    public String getCourseDescription() {
        return courseDescription;
    }

    public void setCourseDescription(String courseDescription) {
        this.courseDescription = courseDescription;
    }

    public double getCourseMonthlyPrice() {
        return courseMonthlyPrice;
    }

    public void setCourseMonthlyPrice(double courseMonthlyPrice) {
        this.courseMonthlyPrice = courseMonthlyPrice;
    }

    @Override
    public String toString() {
        return "Course: " + courseName ;
    }
}

